package com.qen.plugin.notification;

import com.qen.App;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.VBox;

public class CloseEventHandler implements EventHandler {
    @Override
    public void handle(Event event) {
        VBox vBox = (VBox) App.rootPane.lookup("#notification");
        App.rootPane.getChildren().remove(vBox);
    }
}
